<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数独游戏</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <h1>数独游戏</h1>
        <div class="difficulty-select">
            <h2>选择难度</h2>
            <button class="difficulty-btn" data-difficulty="easy">简单</button>
            <button class="difficulty-btn" data-difficulty="medium">中等</button>
            <button class="difficulty-btn" data-difficulty="hard">偏难</button>
        </div>
        <div class="game-container hidden">
            <div class="hearts-container">
                <div class="win-streak">连胜: 0</div>
                <div class="heart">❤</div>
                <div class="heart">❤</div>
                <div class="heart">❤</div>
            </div>
            <div class="sudoku-grid"></div>
            <div class="number-counts-container"></div>
            <button class="restart-btn">重新开始</button>
        </div>
    </div>
    <div class="success-modal hidden">
        <div class="success-content">
            <h2 class="success-title">恭喜通关!</h2>
            <div class="success-buttons">
                <button class="success-btn continue">继续下一关</button>
                <button class="success-btn exit">退出游戏</button>
            </div>
        </div>
    </div>
    <script src="script.js"></script>
</body>
</html>